﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace DEWY_SSIS_CONFIG_MANAGER
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(String[] args)
        {
            String SelectedFile = String.Empty;
            if (args.Length > 0)
            {
                foreach (String s in args)
                {
                    if (System.IO.File.Exists(s))
                    {
                        SelectedFile = s;
                        //MessageBox.Show(s);
                    }
                }
            }


            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MasterWindow() { SelectedFile = SelectedFile });
            
        }
    }
}
